package com.example.satoken.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.satoken.model.MtoUser;
import com.example.satoken.mapper.MtoUserMapper;
import com.example.satoken.service.MtoUserService;

import java.util.List;

/**
 * @Author:ZhouYang
 * @Description:
 * @Date: Created in 2020/9/15 9:47
 * @Modified By：
 */
@Service
public class MtoUserServiceImpl implements MtoUserService {

    @Resource
    private MtoUserMapper mtoUserMapper;


    @Override
    public List<MtoUser> findAll() {
        return mtoUserMapper.selectList(new QueryWrapper());
    }
}

